package cn.iocoder.yudao.module.tms.convert.customerfollowup;

import cn.iocoder.yudao.module.tms.controller.admin.customerfollowup.vo.CustomerFollowUpRespVO;
import cn.iocoder.yudao.module.tms.controller.admin.customerfollowup.vo.CustomerFollowUpSaveReqVO;
import cn.iocoder.yudao.module.tms.dal.dataobject.customerfollowup.CustomerFollowUpDO;
import cn.iocoder.yudao.framework.common.pojo.PageResult;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface CustomerFollowUpConvert {

    CustomerFollowUpConvert INSTANCE = Mappers.getMapper(CustomerFollowUpConvert.class);

    CustomerFollowUpDO convert(CustomerFollowUpSaveReqVO bean);

    CustomerFollowUpRespVO convert(CustomerFollowUpDO bean);

    PageResult<CustomerFollowUpRespVO> convertPage(PageResult<CustomerFollowUpDO> page);

}
